package com.trust.entity.VO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author ccc
 * @desc
 * @since 2023/11/10 14:55
 */
@ApiModel("部门列表出参")
@Data
public class DeptListVO {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("联系人id")
    private String contactId;

    @ApiModelProperty("联系人")
    private String contact;

    @ApiModelProperty("联系方式")
    private String phone;

    @ApiModelProperty("部门编号")
    private String code;

    @ApiModelProperty("父id，顶级部门为0")
    private Integer parentId;

    @ApiModelProperty("子部门")
    private List<DeptListVO> children;
}
